public class Dog {
    public String color;

    public Dog(String color) {
        this.color = color;
    }

/*    @Override
    public int hashCode() {
        return Objects.hash(color);
    }*/

    @Override
    public int hashCode() {
        return super.hashCode();
    }
}
